namespace Armon.Lib.Algorithm.Test
{
    public class ArithmeticExpressionTests
    {
        [SetUp]
        public void Setup()
        {
        }

        [Test]
        public void TestCreateRPN()
        {
            var s = "( [HGB] > 50 ) AND ( [MCV] + 50 ) > 90";
            s = "50 + 60 +";
            var expression = new ArithmeticExpression();
            var e = expression.Split(s);
            var postfix = expression.CreatePostfix(e);
            var root = expression.CreateTree(postfix);
            Assert.IsNotNull(e);
        }
    }
}